package com.fanghuaiming.tsec.order.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/****
 * @description:Rocketmq的配置
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/12/1 下午4:09
 *
 */
@Data
@Configuration
public class Jms {

    /**
     * 配置中心读取 服务器地址
     */
    @Value("${rocketmq.name.server}")
    private String nameServer;

    /**
     * 支付topic（需要先在console声明）
     */
    @Value("${rocketmq.pay.topic}")
    private String payTopic;

    /**
     * producerTag
     */
    @Value("${rocketmq.pay.tag}")
    private String payTag;

    /**
     * consumerGroup
     */
    @Value("${order.consumer.group}")
    private String consumerGroup ;
}
